Skip to content

[3.9] bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596)#29597

Merged
ambv merged 1 commit into
python:3.9from
miss-islington:backport-b919d81-3.9
Nov 17, 2021
Merged

[3.9] bpo-45831: _Py_DumpASCII() uses a single write() call if possible (GH-29596)#29597
ambv merged 1 commit into
python:3.9from
miss-islington:backport-b919d81-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 17, 2021

Copy link
Copy Markdown
Contributor

If the string is ASCII only and doesn't need to escape characters,
write the whole string with a single write() syscall.
(cherry picked from commit b919d81)

Co-authored-by: Victor Stinner vstinner@python.org

https://bugs.python.org/issue45831

…thonGH-29596)

If the string is ASCII only and doesn't need to escape characters,
write the whole string with a single write() syscall.
(cherry picked from commit b919d81)

Co-authored-by: Victor Stinner <vstinner@python.org>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner and @ambv: Status check is done, and it's a success ✅ .

@miss-islington

Copy link
Copy Markdown
Contributor Author

@vstinner and @ambv: Status check is done, and it's a success ✅ .

@ambv ambv merged commit ac89f8c into python:3.9 Nov 17, 2021
@miss-islington miss-islington deleted the backport-b919d81-3.9 branch November 17, 2021 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants